home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlarf.z / dlarf
Encoding:
Text File  |  2002-10-03  |  3.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAARRRRFFFF((((3333SSSS))))                                                            DDDDLLLLAAAARRRRFFFF((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLARF - applie a real elementary reflector H to a real m by n matrix C,
  10.      from either the left or the right
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DLARF( SIDE, M, N, V, INCV, TAU, C, LDC, WORK )
  14.  
  15.          CHARACTER     SIDE
  16.  
  17.          INTEGER       INCV, LDC, M, N
  18.  
  19.          DOUBLE        PRECISION TAU
  20.  
  21.          DOUBLE        PRECISION C( LDC, * ), V( * ), WORK( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      DLARF applies a real elementary reflector H to a real m by n matrix C,
  38.      from either the left or the right. H is represented in the form
  39.            H = I - tau * v * v'
  40.  
  41.      where tau is a real scalar and v is a real vector.
  42.  
  43.      If tau = 0, then H is taken to be the unit matrix.
  44.  
  45.  
  46. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  47.      SIDE    (input) CHARACTER*1
  48.              = 'L': form  H * C
  49.              = 'R': form  C * H
  50.  
  51.      M       (input) INTEGER
  52.              The number of rows of the matrix C.
  53.  
  54.      N       (input) INTEGER
  55.              The number of columns of the matrix C.
  56.  
  57.      V       (input) DOUBLE PRECISION array, dimension
  58.              (1 + (M-1)*abs(INCV)) if SIDE = 'L' or (1 + (N-1)*abs(INCV)) if
  59.              SIDE = 'R' The vector v in the representation of H. V is not used
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAARRRRFFFF((((3333SSSS))))                                                            DDDDLLLLAAAARRRRFFFF((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              if TAU = 0.
  75.  
  76.      INCV    (input) INTEGER
  77.              The increment between elements of v. INCV <> 0.
  78.  
  79.      TAU     (input) DOUBLE PRECISION
  80.              The value tau in the representation of H.
  81.  
  82.      C       (input/output) DOUBLE PRECISION array, dimension (LDC,N)
  83.              On entry, the m by n matrix C.  On exit, C is overwritten by the
  84.              matrix H * C if SIDE = 'L', or C * H if SIDE = 'R'.
  85.  
  86.      LDC     (input) INTEGER
  87.              The leading dimension of the array C. LDC >= max(1,M).
  88.  
  89.      WORK    (workspace) DOUBLE PRECISION array, dimension
  90.              (N) if SIDE = 'L' or (M) if SIDE = 'R'
  91.  
  92. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  93.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  94.  
  95.      This man page is available only online.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.